Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002409/0.002409, allocations: 214.4 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002576/0.002576, allocations: 284.8 kB / 312.7 MB, free: 2.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.202/1.202, allocations: 180.6 MB / 0.5369 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002932/0.002932, allocations: 104.4 kB / 0.7395 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1874, allocations: 95.39 MB / 0.8326 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004906/0.1923, allocations: 3.086 MB / 0.8357 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002911/0.1952, allocations: 1.699 MB / 0.8373 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.1954, allocations: 7.938 kB / 0.8373 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.1964, allocations: 318.8 kB / 0.8376 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005048/0.1969, allocations: 227.1 kB / 0.8378 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.1974, allocations: 175.6 kB / 0.838 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.1978, allocations: 315 kB / 0.8383 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000325/0.1981, allocations: 173 kB / 0.8385 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.1984, allocations: 151.4 kB / 0.8386 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.1987, allocations: 163.4 kB / 0.8388 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.1987, allocations: 20 kB / 0.8388 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003723/0.1991, allocations: 231.5 kB / 0.839 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1992, allocations: 103.7 kB / 0.8391 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1993, allocations: 95.59 kB / 0.8392 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005738/0.1999, allocations: 422.5 kB / 0.8396 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1999, allocations: 3.938 kB / 0.8396 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1999, allocations: 0 / 0.8396 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.1999, allocations: 7.938 kB / 0.8396 GB, free: 1.164 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009629/0.2008, allocations: 485.4 kB / 0.8401 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.2009, allocations: 9.344 kB / 0.8401 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.924e-05/0.201, allocations: 62.72 kB / 0.8402 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007158/0.2017, allocations: 96.64 kB / 0.8402 GB, free: 496 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.2021, allocations: 200.5 kB / 0.8404 GB, free: 272 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.2021, allocations: 16.81 kB / 0.8405 GB, free: 256 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.2022, allocations: 24.5 kB / 0.8405 GB, free: 232 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006499/0.2028, allocations: 428 kB / 0.8409 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.2028, allocations: 0 / 0.8409 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.2029, allocations: 15.91 kB / 0.8409 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.203, allocations: 28.41 kB / 0.8409 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005073/0.2035, allocations: 313.4 kB / 0.8412 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.2053, allocations: 1.089 MB / 0.8423 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.2057, allocations: 210.4 kB / 0.8425 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.2059, allocations: 104.8 kB / 0.8426 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.206, allocations: 15.98 kB / 0.8426 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.206, allocations: 30.56 kB / 0.8426 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.206, allocations: 0 / 0.8426 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.00132/0.2073, allocations: 0.7174 MB / 0.8433 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.2074, allocations: 55.36 kB / 0.8434 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.2076, allocations: 191.5 kB / 0.8436 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.2076, allocations: 33.7 kB / 0.8436 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.2077, allocations: 172.1 kB / 0.8438 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.2078, allocations: 67.44 kB / 0.8438 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.2079, allocations: 57.64 kB / 0.8439 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.208, allocations: 330.8 kB / 0.8442 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.2082, allocations: 115.9 kB / 0.8443 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.2085, allocations: 178.9 kB / 0.8445 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.2089, allocations: 297.3 kB / 0.8448 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2089, allocations: 4 kB / 0.8448 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007611/0.2096, allocations: 409.9 kB / 0.8452 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2097, allocations: 8 kB / 0.8452 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.2097, allocations: 0 / 0.8452 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004134/0.2101, allocations: 105 kB / 0.8453 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.2103, allocations: 51.89 kB / 0.8453 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.2123, allocations: 1.76 MB / 0.847 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.2126, allocations: 19.95 kB / 0.8471 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.2126, allocations: 12 kB / 0.8471 GB, free: 9.113 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.2128, allocations: 154.4 kB / 0.8472 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.2128, allocations: 19.91 kB / 0.8472 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004993/0.2133, allocations: 305.6 kB / 0.8475 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2133, allocations: 7.938 kB / 0.8475 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.2133, allocations: 0 / 0.8475 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.2133, allocations: 11.86 kB / 0.8475 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009734/0.2143, allocations: 0.6534 MB / 0.8482 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2143, allocations: 0 / 0.8482 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.2146, allocations: 55.95 kB / 0.8482 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.2146, allocations: 7.938 kB / 0.8482 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.2146, allocations: 12 kB / 0.8483 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.2146, allocations: 0 / 0.8483 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2146, allocations: 0 / 0.8483 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006445/0.2153, allocations: 0.5126 MB / 0.8488 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.2154, allocations: 39.78 kB / 0.8488 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.2154, allocations: 11.98 kB / 0.8488 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.2156, allocations: 7.984 kB / 0.8488 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.2156, allocations: 15.98 kB / 0.8488 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.2157, allocations: 7.938 kB / 0.8488 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001475/0.2158, allocations: 148 kB / 0.849 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2158, allocations: 0 / 0.849 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003592/0.2162, allocations: 68.06 kB / 0.849 GB, free: 7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.0009954/0.2172, allocations: 1.058 MB / 0.8501 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007627/0.2179, allocations: 408.7 kB / 0.8505 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2179, allocations: 448 / 0.8505 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.2181, allocations: 115.8 kB / 0.8506 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.2185, allocations: 43.84 kB / 0.8506 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.2226, allocations: 2.899 MB / 0.8535 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.2228, allocations: 169 kB / 0.8536 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001709/0.2229, allocations: 57.91 kB / 0.8537 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.2231, allocations: 67.41 kB / 0.8537 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.2231, allocations: 0 / 0.8537 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03511/0.2582, allocations: 5.702 MB / 0.8593 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.71, allocations: 12.05 kB / 0.8593 GB, free: 12.47 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.854175623040646] Failed to read output from testmodel.py, exit status != 0: 11.8207667786628 11.83812225 11.635023121 Calling exit ...