Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.177/1.177, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7938/0.7938, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 65.33 kB / 0.505 GB, free: 5.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1152, allocations: 80.92 MB / 0.584 GB, free: 4.75 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002093/0.1173, allocations: 1.47 MB / 0.5854 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004708/0.1178, allocations: 371.2 kB / 0.5858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.1179, allocations: 0 / 0.5858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.1179, allocations: 0 / 0.5858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.258e-05/0.118, allocations: 3.984 kB / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.27e-05/0.118, allocations: 4 kB / 0.5858 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.593e-05/0.118, allocations: 31.8 kB / 0.5858 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.784e-05/0.1181, allocations: 4 kB / 0.5858 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.1182, allocations: 8 kB / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.096e-05/0.1183, allocations: 7.984 kB / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.1183, allocations: 0 / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.122e-06/0.1183, allocations: 7.938 kB / 0.5858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.1183, allocations: 4 kB / 0.5859 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.76e-05/0.1183, allocations: 0 / 0.5859 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.07e-05/0.1184, allocations: 27.84 kB / 0.5859 GB, free: 2.805 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.1184, allocations: 0 / 0.5859 GB, free: 2.805 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1184, allocations: 4 kB / 0.5859 GB, free: 2.801 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1184, allocations: 0 / 0.5859 GB, free: 2.801 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002827/0.1187, allocations: 331.7 kB / 0.5862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1187, allocations: 8.031 kB / 0.5862 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.376e-05/0.1188, allocations: 30.75 kB / 0.5862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.701e-05/0.1188, allocations: 4.938 kB / 0.5862 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.849e-05/0.1189, allocations: 164.4 kB / 0.5864 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.1189, allocations: 384 / 0.5864 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.1189, allocations: 8.312 kB / 0.5864 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.917e-05/0.119, allocations: 45.81 kB / 0.5865 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.239e-06/0.119, allocations: 0 / 0.5865 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-06/0.119, allocations: 0 / 0.5865 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.119, allocations: 0 / 0.5865 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.404e-05/0.119, allocations: 7.984 kB / 0.5865 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.1193, allocations: 244.8 kB / 0.5867 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.048e-05/0.1193, allocations: 30.56 kB / 0.5867 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.52e-05/0.1194, allocations: 16.91 kB / 0.5867 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.1194, allocations: 0 / 0.5867 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.1194, allocations: 30.56 kB / 0.5868 GB, free: 1.727 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.1194, allocations: 3.938 kB / 0.5868 GB, free: 1.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001069/0.1195, allocations: 37.7 kB / 0.5868 GB, free: 1.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.1195, allocations: 51.41 kB / 0.5869 GB, free: 1.617 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.26e-05/0.1196, allocations: 113.9 kB / 0.587 GB, free: 1.496 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.1196, allocations: 25.7 kB / 0.587 GB, free: 1.465 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.1197, allocations: 80.14 kB / 0.5871 GB, free: 1.383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.1197, allocations: 11.84 kB / 0.5871 GB, free: 1.371 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.1197, allocations: 13.72 kB / 0.5871 GB, free: 1.352 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.062e-05/0.1198, allocations: 318.8 kB / 0.5874 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.1198, allocations: 4 kB / 0.5874 GB, free: 1.027 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-06/0.1198, allocations: 4 kB / 0.5874 GB, free: 1.023 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.176e-05/0.1199, allocations: 16.92 kB / 0.5874 GB, free: 1.004 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1199, allocations: 0 / 0.5874 GB, free: 1.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.589e-05/0.1199, allocations: 33.7 kB / 0.5874 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.1199, allocations: 8 kB / 0.5875 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1199, allocations: 0 / 0.5875 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.1199, allocations: 3.938 kB / 0.5875 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.189e-05/0.12, allocations: 7.984 kB / 0.5875 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.12, allocations: 0 / 0.5875 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.12, allocations: 0 / 0.5875 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-06/0.12, allocations: 4.031 kB / 0.5875 GB, free: 0.9414 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.652e-05/0.1201, allocations: 121.7 kB / 0.5876 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.1201, allocations: 0 / 0.5876 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.327e-05/0.1201, allocations: 3.125 kB / 0.5876 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1201, allocations: 0 / 0.5876 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1201, allocations: 4 kB / 0.5876 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.1201, allocations: 0 / 0.5876 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.1203, allocations: 157.6 kB / 0.5877 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1203, allocations: 0 / 0.5877 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/0.1203, allocations: 8 kB / 0.5878 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1203, allocations: 3.984 kB / 0.5878 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.1203, allocations: 0 / 0.5878 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1203, allocations: 0 / 0.5878 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1203, allocations: 4 kB / 0.5878 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.551e-05/0.1204, allocations: 135.4 kB / 0.5879 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.1204, allocations: 81.02 kB / 0.588 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.1205, allocations: 7.922 kB / 0.588 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/0.1205, allocations: 8.031 kB / 0.588 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.1205, allocations: 4 kB / 0.588 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.1205, allocations: 0 / 0.588 GB, free: 328 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.039e-05/0.1206, allocations: 83.45 kB / 0.5881 GB, free: 244 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1206, allocations: 0 / 0.5881 GB, free: 244 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001948/0.1208, allocations: 0 / 0.5881 GB, free: 244 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002727/0.121, allocations: 0.6734 MB / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.7e-05/0.1211, allocations: 11.94 kB / 0.5887 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1211, allocations: 0 / 0.5887 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.011e-05/0.1211, allocations: 8 kB / 0.5887 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.1213, allocations: 3.984 kB / 0.5887 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007285/0.1221, allocations: 1.156 MB / 0.5899 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.1223, allocations: 0.6768 MB / 0.5905 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.377e-05/0.1223, allocations: 3.984 kB / 0.5905 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.1223, allocations: 7.438 kB / 0.5905 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1223, allocations: 0 / 0.5905 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1274/0.2497, allocations: 0.9559 MB / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.2499, allocations: 219.4 kB / 0.5917 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/1.838, allocations: 4 kB / 0.5917 GB, free: 12.54 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)