Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.001058/0.001058, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009897/0.0009896, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 290.5 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.902/0.902, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 91.97 kB / 0.5954 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1335, allocations: 86.98 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002721/0.1363, allocations: 1.451 MB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004217/0.1367, allocations: 187.4 kB / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.1368, allocations: 0 / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.1368, allocations: 0 / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.1371, allocations: 29.31 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.1374, allocations: 58.61 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.1375, allocations: 56.66 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1376, allocations: 15.92 kB / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.908e-05/0.1377, allocations: 24.62 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.467e-05/0.1377, allocations: 21.27 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.1378, allocations: 8 kB / 0.6821 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.079e-05/0.1378, allocations: 4 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.006e-05/0.1378, allocations: 11.92 kB / 0.6821 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.225e-05/0.1379, allocations: 31.91 kB / 0.6821 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.138, allocations: 39.88 kB / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.138, allocations: 0 / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1381, allocations: 0 / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1381, allocations: 0 / 0.6822 GB, free: 14.65 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005792/0.1387, allocations: 351.4 kB / 0.6825 GB, free: 14.26 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1387, allocations: 8.625 kB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.1387, allocations: 38.73 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.1388, allocations: 0.9375 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1389, allocations: 180.2 kB / 0.6827 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.139, allocations: 384 / 0.6827 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.139, allocations: 4.375 kB / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1391, allocations: 72.81 kB / 0.6828 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1391, allocations: 3.938 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1392, allocations: 4 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1392, allocations: 0 / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.738e-05/0.1392, allocations: 19.92 kB / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.1396, allocations: 276.9 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.607e-05/0.1397, allocations: 34.56 kB / 0.6831 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.1397, allocations: 20.94 kB / 0.6832 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-06/0.1397, allocations: 0 / 0.6832 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.1399, allocations: 71.33 kB / 0.6832 GB, free: 13.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1399, allocations: 0 / 0.6832 GB, free: 13.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001868/0.1401, allocations: 69.59 kB / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.1401, allocations: 114.7 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.818e-05/0.1402, allocations: 101.9 kB / 0.6835 GB, free: 13.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.1402, allocations: 29.7 kB / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.1403, allocations: 88.06 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.1403, allocations: 7.906 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.1403, allocations: 21.72 kB / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.1404, allocations: 322.8 kB / 0.6839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.302e-05/0.1405, allocations: 16.19 kB / 0.684 GB, free: 12.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.72e-05/0.1405, allocations: 34.56 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.842e-05/0.1406, allocations: 24.86 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1406, allocations: 0 / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.817e-05/0.1407, allocations: 65.59 kB / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1407, allocations: 8.031 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1407, allocations: 3.938 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1407, allocations: 0 / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.1408, allocations: 15.92 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1408, allocations: 0 / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.1409, allocations: 4 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1409, allocations: 7.984 kB / 0.6841 GB, free: 12.4 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.742e-05/0.141, allocations: 115.1 kB / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.141, allocations: 4 kB / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.902e-05/0.1411, allocations: 7.5 kB / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1411, allocations: 192 / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1411, allocations: 4 kB / 0.6842 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1411, allocations: 3.984 kB / 0.6842 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.1412, allocations: 173.6 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1412, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.1413, allocations: 4 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1413, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.1413, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1413, allocations: 192 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1413, allocations: 4 kB / 0.6844 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.1414, allocations: 104.9 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.1415, allocations: 85.09 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.1415, allocations: 7.938 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1416, allocations: 9.703 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.1417, allocations: 0 / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.1417, allocations: 4 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.477e-05/0.1417, allocations: 91.27 kB / 0.6847 GB, free: 11.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1417, allocations: 0 / 0.6847 GB, free: 11.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00019/0.1419, allocations: 12 kB / 0.6847 GB, free: 11.69 MB / 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003857/0.1423, allocations: 0.6357 MB / 0.6853 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.1424, allocations: 27.98 kB / 0.6854 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1424, allocations: 4 kB / 0.6854 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.885e-05/0.1425, allocations: 12 kB / 0.6854 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.1426, allocations: 5.625 kB / 0.6854 GB, free: 10.97 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009871/0.1436, allocations: 1.184 MB / 0.6865 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.1438, allocations: 0.6768 MB / 0.6872 GB, free: 9.004 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.351e-05/0.1439, allocations: 11.91 kB / 0.6872 GB, free: 8.992 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.1439, allocations: 7.438 kB / 0.6872 GB, free: 8.984 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1439, allocations: 4 kB / 0.6872 GB, free: 8.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1293/0.2732, allocations: 1.773 MB / 0.689 GB, free: 7.379 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/7.431, allocations: 12.28 kB / 0.689 GB, free: 7.371 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)